package com.ruoyi.equ.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 设备归还对象 equ_return
 * 
 * @author luguanqing
 * @date 2020-10-23
 */
public class EquReturn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 归还id */
    private String id;

    /** 归还单号 */
    @Excel(name = "归还单号")
    private String colNum;

    /** 归还设备id */
    @Excel(name = "归还设备id")
    private String equId;

    /** 归还设备编号 */
    @Excel(name = "归还设备编号")
    private String equNum;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equName;


    /** 设备种类 */
    @Excel(name = "设备种类")
    private String equType;

    /** 归还部门 */
    @Excel(name = "归还部门")
    private String retuDept;

    /** 归还人员 */
    @Excel(name = "归还人员")
    private String retuUser;

    /** 归还日期 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "归还日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String retuTime;

    /**
     * 设备列表信息
     * @param id
     */
    private List<EquColInfo> equColList;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setColNum(String colNum) 
    {
        this.colNum = colNum;
    }

    public String getColNum() 
    {
        return colNum;
    }
    public void setEquId(String equId) 
    {
        this.equId = equId;
    }

    public String getEquId() 
    {
        return equId;
    }

    public String getEquNum() {
        return equNum;
    }

    public void setEquNum(String equNum) {
        this.equNum = equNum;
    }

    public void setEquType(String equType)
    {
        this.equType = equType;
    }

    public String getEquType() 
    {
        return equType;
    }
    public void setRetuDept(String retuDept) 
    {
        this.retuDept = retuDept;
    }

    public String getRetuDept() 
    {
        return retuDept;
    }
    public void setRetuUser(String retuUser) 
    {
        this.retuUser = retuUser;
    }

    public String getRetuUser() 
    {
        return retuUser;
    }
    public void setRetuTime(String retuTime)
    {
        this.retuTime = retuTime;
    }

    public String getRetuTime()
    {
        return retuTime;
    }

    public String getEquName() {
        return equName;
    }

    public void setEquName(String equName) {
        this.equName = equName;
    }

    public List<EquColInfo> getEquColList() {
        return equColList;
    }

    public void setEquColList(List<EquColInfo> equColList) {
        this.equColList = equColList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("colNum", getColNum())
            .append("equId", getEquId())
            .append("equNum", getEquNum())
            .append("equType", getEquType())
            .append("retuDept", getRetuDept())
            .append("retuUser", getRetuUser())
            .append("retuTime", getRetuTime())
            .append("equName", getEquNum())
            .toString();
    }
}
